/config/app/health/monitor//httpOptions/response

Use

The nodes below this one configure settings for the HTTP responses.

Set the service type for the health monitor in the [t](/REST_API_Reference_Gui de/config/app/proxy/virtualIP/%3Cname%3E/serviceType)[ype](https://docs.linera tesystems.com/087Release_2.6/250REST_API_Reference_Guide/config/app/health/mon itor/%3Cname%3E/type) node.

Parameters

name: Name of health monitor

Data Type

subtree

Request Methods

GET

Examples

GET

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/app/health/mon itor/hm-01/httpOptions/response

GET Response

{"/config/app/health/monitor/hm-01/httpOptions/response": {"data": None,
                                                            "default": False,
                                                            "defaultAllowed": False,
                                                            "deleteAllowed": False,
                                                            "numChildren": 5,
                                                            "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/config/app/health/monitor/hm-01/httpOptions/response"}

GET (list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/app/health/mon itor/hm-01/httpOptions/response?op=list

GET Response

{"/config/app/health/monitor/hm-01/httpOptions/response": {"children": {"/config/app/health/monitor/hm-01/httpOptions/response/body": {"default": True,
                                                                                                                                          "defaultAllowed": True,
                                                                                                                                          "deleteAllowed": False,
                                                                                                                                          "numChildren": 0,
                                                                                                                                          "type": "string"},
                                                                          "/config/app/health/monitor/hm-01/httpOptions/response/doesNotHaveHeaders": {"default": False,
                                                                                                                                                        "defaultAllowed": False,
                                                                                                                                                        "deleteAllowed": False,
                                                                                                                                                        "numChildren": 0,
                                                                                                                                                        "type": "subtree"},
                                                                          "/config/app/health/monitor/hm-01/httpOptions/response/hasHeaders": {"default": False,
                                                                                                                                                "defaultAllowed": False,
                                                                                                                                                "deleteAllowed": False,
                                                                                                                                                "numChildren": 0,
                                                                                                                                                "type": "subtree"},
                                                                          "/config/app/health/monitor/hm-01/httpOptions/response/status": {"default": False,
                                                                                                                                            "defaultAllowed": False,
                                                                                                                                            "deleteAllowed": False,
                                                                                                                                            "numChildren": 0,
                                                                                                                                            "type": "uint32"},
                                                                          "/config/app/health/monitor/hm-01/httpOptions/response/version": {"default": True,
                                                                                                                                             "defaultAllowed": True,
                                                                                                                                             "deleteAllowed": False,
                                                                                                                                             "numChildren": 0,
                                                                                                                                             "type": "string"}},
                                                            "default": False,
                                                            "defaultAllowed": False,
                                                            "deleteAllowed": False,
                                                            "numChildren": 5,
                                                            "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/config/app/health/monitor/hm-01/httpOptions/response"}

GET (recursively list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/app/health/mon itor/hm-01/httpOptions/response?level=recurse

  1. /config/app/health/monitor//httpOptions/response 1. Parameters 2. Data Type 3. Request Methods 4. Related 5. Examples